package com.eastdigit.system.inter;

import com.eastdigit.system.model.UserRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserRoleMapper {
    int deleteByPrimaryKey(@Param("roleId") String roleId, @Param("userId") String userId);

    int insert(UserRole record);

    List selectByRoleId(@Param("roleId") String roleId);

    int deleteByUserId(@Param("userId") String userId);

    int deleteByRoleId(@Param("roleId") String roleId);

}
